home *** CD-ROM | disk | FTP | other *** search
- #ifndef __HORIZ_VERT_AXES_H_
- #define __HORIZ_VERT_AXES_H_
-
- #include "axe.h"
-
- enum axes_dir { HORIZ_AXE, VERT_AXE };
- enum axes_type { NORMAL_AXE, REVERSE_AXE };
-
- class HV_Axes : public Axe
- {
- public:
- int type;
- int dir;
- int text_dir;
- public:
- HV_Axes(int l, double start = 0, double end = 0,
- int tick_no = 5, int* t = NULL,
- int s_tick_no = 0, int* s = NULL,
- char** lab = NULL);
- virtual void show_labels(loc);
- void set_type(int t, int d, int td = HORIZ_DIR);
- virtual loc get_label_pos(loc, int );
- virtual void show_axe(loc, int);
- };
-
- #endif __HORIZ_VERT_AXES_H_